package clientDemo.entity;

import java.io.Serializable;
import java.util.Date;

public class MissionWork implements Serializable {

    private static final long serialVersionUID = -3518874348310156326L;

    //ID
    private String id;

    //agv的ID
    private String agvId;

    //任务的ID
    private String missionId;

    //地图的ID
    private String agvMapId;

    //调度计划的ID
    private String schedulePlanId;

    //回调接口
    private String callbackUrl;

    //名称
    private String name;

    //顺序编辑
    private Integer sequence;

    //描述
    private String description;

    //状态,wait: 等待,start: 开始执行, running: 运行中, success: 执行成功, fault: 执行失败
    private String status;

    //异常信息
    private String message;

    //是否可中断
    private Boolean interrupt;

    //开始时间
    private Date startTime;

    //结束时间
    private Date endTime;

    //创建时间
    private Date createTime;

    //更新时间
    private Date updateTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAgvId() {
        return agvId;
    }

    public void setAgvId(String agvId) {
        this.agvId = agvId;
    }

    public String getMissionId() {
        return missionId;
    }

    public void setMissionId(String missionId) {
        this.missionId = missionId;
    }

    public String getAgvMapId() {
        return agvMapId;
    }

    public void setAgvMapId(String agvMapId) {
        this.agvMapId = agvMapId;
    }

    public String getSchedulePlanId() {
        return schedulePlanId;
    }

    public void setSchedulePlanId(String schedulePlanId) {
        this.schedulePlanId = schedulePlanId;
    }

    public String getCallbackUrl() {
        return callbackUrl;
    }

    public void setCallbackUrl(String callbackUrl) {
        this.callbackUrl = callbackUrl;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSequence() {
        return sequence;
    }

    public void setSequence(Integer sequence) {
        this.sequence = sequence;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Boolean getInterrupt() {
        return interrupt;
    }

    public void setInterrupt(Boolean interrupt) {
        this.interrupt = interrupt;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "MissionWork{" +
                "id='" + id + '\'' +
                ", agvId='" + agvId + '\'' +
                ", missionId='" + missionId + '\'' +
                ", agvMapId='" + agvMapId + '\'' +
                ", schedulePlanId='" + schedulePlanId + '\'' +
                ", callbackUrl='" + callbackUrl + '\'' +
                ", name='" + name + '\'' +
                ", sequence=" + sequence +
                ", description='" + description + '\'' +
                ", status='" + status + '\'' +
                ", message='" + message + '\'' +
                ", interrupt=" + interrupt +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }

    public MissionWork() {

    }
}
